/**
 * @note 请求云图
 * @author 吴义迪
 * @create_time 2017-07-06
 */
function requestNephogramLayer(id){
	var index = parseInt($("#wu-time-content>.time_li[flag='1']").attr("index"));
	showNephogramLayer(id, Config[id].value[index].url);
}

/**
 * @note 展示云图数据
 * @author 吴义迪
 * @create_time 2017-07-06
 */
function showNephogramLayer(id, url){
	var layers = Global.common.map.getLayersByName("layer_"+id+"");
	if(layers.length > 0){
		layers[0].url = url;
		layers[0].redraw();
	}else{
		var layer = new SuperMap.Layer.Image(
			"layer_" + id,
			url,
			new SuperMap.Bounds(49.965820,-4.959615,150.018311,70.028094),
			{
				numZoomLevels: 18,
				useCanvas: false
			}
		);
		Global.common.map.addLayer(layer);
		layer.setOpacity(parseInt($("#tree_li_"+id+"").attr("opacity")) * 0.01);
		layerIndexControl(layer);
	}
}